package cn.lanca.gof0_5._05builder.case1;

import com.example.demo.gof0_5._05builder.case1.concrete_builder.ConcreteBuilder;
import com.example.demo.gof0_5._05builder.case1.director.Director;
import com.example.demo.gof0_5._05builder.case1.product.Product;

/**
 * 客户类
 *
 * @author meihongliang
 * @since 2020/8/7 16:57
 */
public class Client {
    public static void main(String[] args) {
        ConcreteBuilder builder = new ConcreteBuilder();
        Director director = new Director(builder);
        Product product = director.construct();
        product.show();
    }
}
